package cm.cool.web.data;

import java.math.BigDecimal;

import org.apache.ibatis.annotations.Mapper;

import cm.cool.web.bean.OrderDto;

@Mapper
public interface OrderMapper {
  
    int deleteByPrimaryKey(Long id);

    int insert(OrderDto record);

    int insertSelective(OrderDto record);

    OrderDto selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderDto record);

    int updateByPrimaryKey(OrderDto record);

    // 查询今日总成交额
	int getTotalPrice(BigDecimal totalPrice);

	// 查询今日订单数
	int getTotalNum(Long totalNum);
}
	
	
	

